package com.fy.market.types.common.constant;

/**
 * 结果消息常量
 */
public class ResultMessageConstant {



    // 策略抽奖相关
    public static final class LotteryStrategy {
        // 私有构造方法，防止实例化
        private LotteryStrategy() {}
        public static final String STRATEGY_NOT_FOUND = "策略不存在!";
        public static final String STRATEGY_AWARD_LIST_EMPTY = "策略奖品列表为空!";
    }

    public static String NOT_LOGIN_ERROR = "未登录";
    public static String NO_AUTH_ERROR = "无权限";
    public static String SYSTEM_ERROR = "系统内部异常";
    public static String OPERATION_ERROR = "操作失败";

    // 用户相关错误码
    public static String USER_NOT_FOUND = "用户不存在";
    public static String PASSWORD_ERROR = "密码错误";
    public static String USER_BANNED = "账号被禁用";
    public static String LOGIN_EXPIRED = "登录超时";

    // 验证码相关错误码
    public static String CAPTCHA_ERROR = "图形验证码错误";
    public static String CAPTCHA_PARAM_ERROR = "图形验证码不能为空";

    // 文件相关错误码
    public static String INSUFFICIENT_SPACE = "空间不足请扩容";

    // 分享相关错误码
    public static String PARAMS_ERROR = "参数错误";
    public static String SEARCH_ERROR = "搜索失败";
    public static String FILE_SIZE_ERROR = "文件不能大于5MB";
    public static String SPACE_NOT_FOUND = "空间不存在";
    public static String NOT_LOGIN = "用户未登录";

    // 团队空间相关
    public static String TEAM_MEMBER_NOT_EXIST_OR_DISABLED = "团队成员不存在或已被禁用";
    public static String TEAM_MEMBER_ROLE_NOT_CONFIGURED = "团队成员角色未配置"; //团队成员角色未配置

    // 文件上传相关
    public static String UPLOADING="uploading";
    public static String UPLOAD_SUCCESS = "upload_finish";
    public static String UPLOAD_SECONDS = "upload_seconds";
    public static String FILE_NOT_FOUND = "文件不存在";
    public static String NOT_YOUR = "这tm不是你的文件！";
    public static String EMAIL_CODE_EXPIRED = "邮箱验证码已过期";
    public static String EMAIL_CODE_ERROR = "邮箱验证码错误";
    public static String NOT_BIND_EMAIL = "未找到绑定此邮箱的账号";
    public static String REQUEST_TOO_FREQUENTLY = "请求过于频繁，请稍后再试";
    public static String SHARE_NOT_EXIST = "分享不存在";
    public static String CODE_ERROR = "分享码错误";
    public static String CODE_NOT_NULL = "分享码不能为空";


    public static String ACCOUNT_ERROR = "账号异常";   //账号状态异常
    public static String EXISTS = "已存在";
    public static String UNKNOWN_ERROR = "未知异常";
    public static String EMAIL_EXIST = "邮箱已经被其他账号绑定！";
    public static String USERNAME_EXIST = "用户名被占用";
    public static String GRAPHIC_CAPTCHA_ERROR = "图形验证码错误";
    public static String EMAIL_CODE_ERROR_OR_TIME_OUT = "邮箱验证码错误或过期";
    public static String PASS_WORD_ERROR = "密码错误";
    public static String LOGIN_ERROR = "登录异常";
    public static String SHARE_CODE_ERROR = "分享码错误!";
    public static String SHARE_EXPIRE_ERROR = "分享已过期!";
    public static String ACCOUNT_DEACTIVATED_ERROR = "账号被禁用,请联系开发者!@QQ: 2285114622";
    public static String LOW_SPACE_ERROR = "分配空间小于已使用空间 请重新分配!";
    public static String BUSINESS_ERROR = "登录超时 请重新登录!";
    public static String NOT_ADMIN = "你没有管理权限!!!";
    public static String ADMIN_OSS_COUNT_TITLE = "OSS系统空间使用情况";
    public static String SPACE_FULL = "空间充足无需扩容!";
    public static String USER_SPACE_TITLE = "用户空间使用情况";
    public static String OUT_PASS_WORD_ERROR = "密码错误次数过多,账号被锁定!";
    public static String SHARE_FILE_EXPIRED = "分享文件已失效!";
    public static String DOWNLOAD_LINK_EXPIRED = "下载链接已失效";
    public static String PROCESS_FILE_FAIL = "文件处理失败";
    public static String REQUEST_LIMIT = "请求过于频繁，请稍后再试";
    public static String PLEASE_LOGIN = "老弟,请先登录!";
    public static String ACCOUNT_EXISTS = "账号已存在";
}
